﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///StringTools 的摘要说明
/// </summary>
public class StringTools
{
	public StringTools()
	{
        
	}

    public static string GetName(string name)
    {
       return name = name.Substring(0, 1).ToUpper() + name.Substring(1);
    }

    public static string GetTypeName(string type)
    {
        string[] txtArr = new string[] {"ntext","text" };
        if (txtArr.Any(x => x == type))
        {
            return "type=\"StringClob\"";
        }
        else
        {
            return "";
        }
    }
}